package com.big.model.model.merchandise;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
@ApiModel(description = "商品规格信息")
@TableName("merchandise_specification")
public class MerchandiseSpecification {

    @ApiModelProperty(value = "商品编号")
    @TableField("m_id")
    private Long mId;

    @ApiModelProperty(value = "硬盘规格")
    @TableField("hdd")
    private Integer hdd;

    @ApiModelProperty(value = "运行内存")
    @TableField("run_memory")
    private Integer runMemory;


    @ApiModelProperty(value = "cpu")
    @TableField("cpu")
    private Integer cpu;


    @ApiModelProperty(value = "显卡")
    @TableField("gpu")
    private Integer gpu;


    @ApiModelProperty(value = "操作系统")
    @TableField("operating_system")
    private Integer operatingSystem;




    @ApiModelProperty(value = "品牌")
    @TableField("brand")
    private Integer brand;



    @ApiModelProperty(value = "通信设备")
    @TableField("telecom")
    private Integer telecom;


    @ApiModelProperty(value = "后置摄像头")
    @TableField("camera")
    private Integer camera;

    @ApiModelProperty(value = "电池容量")
    @TableField("battery_capacity")
    private Integer batteryCapacity;

    @ApiModelProperty(value = "商品类型")
    @TableField("m_type")
    private Integer mType;

    @ApiModelProperty(value = "其他参数")
    @TableField(exist = false)
    private Map<String,Object> param = new HashMap<>();



}
